package FIleInpuSteam;

import java.io.FileWriter;
import java.io.IOException;
import java.io.Writer;
import java.util.Arrays;

public class Read {
    public static void main(String[] args) {
        try(Writer fw = new FileWriter("D:\\wc4.txt",true);) {
//            fw.write("\r\n");
//            fw.write(97);
//            fw.write("a");
            fw.write("我爱你中国",0,5);

            String[] c={"s"};
            fw.write(Arrays.toString(c));


        } catch (IOException e) {
            throw new RuntimeException(e);
        }

    }
}
